package com.wcy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

import javax.swing.*;

@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,SecurityAutoConfiguration.class, SecurityFilterAutoConfiguration.class})
@EnableDiscoveryClient
@EnableFeignClients
public class ComsumerFeignApplication {
    public static void main(String[] args) {
        SpringApplication.run(ComsumerFeignApplication.class, args);
    }
}
